package com.example.jack.community.data.loginbean;

/**
 * 用户信息的实体类bean
 * Created by Tulin on 2017/10/18.
 */

public class User {


    //用户名
    private String username;

    //用户手机号码
    private String phonenum;

    //用户密码
    private String password;

    //注册验证加密字符串
    private String passcode;

    //学校名称
    private String schoolname;

    //学生性别
    private String sex;

    //学生tocken
    private String tocken;

    public User(String phonenum, String password) {
        this.phonenum = phonenum;
        this.password = password;
    }

    public User(String phone, String password, String passcode) {
        this.phonenum = phone;
        this.password = password;
        this.passcode = passcode;
    }

    public String getTocken() {
        return tocken;
    }

    public void setTocken(String tocken) {
        this.tocken = tocken;
    }

    public String getSchoolname() {
        return schoolname;
    }

    public void setSchoolname(String schoolname) {
        this.schoolname = schoolname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getPasscode() {
        return passcode;
    }

    public void setPasscode(String passcode) {
        this.passcode = passcode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
